package com.code.modules.base.service;

import com.baomidou.mybatisplus.service.IService;
import com.code.modules.base.model.Resource;
import com.code.modules.base.vo.TreeNodeVo;

import java.util.List;

/**
 * <p>
 * 资源信息表(菜单,资源) 服务类
 * </p>
 *
 * @author MyBatisPlus
 * @since 2021-10-19
 */
public interface ResourceService extends IService<Resource> {

    List<Resource> findResourceByRoleid(Integer roleid);

    String checkResByCode(String code);

    int findResIdByCode(String pcode);

    List<TreeNodeVo> resTreeNodedata(String condition);



}
